﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ServiceDesk.DAL
{

    public class UserRole
    {
        public const int Operator = 0;
        public const int Admin = 1;
        public readonly static int[] AllRoles = new int[]{ UserRole.Operator, UserRole.Admin}; 
        
    }

    public class User
    {
        public virtual Guid Guid { get; set; }
        public virtual string Login { get; set; }
        public virtual string Password { get; set; }
        public virtual int UserRole { get; set; }
        public const int MaxLoginLength = 50;
        public const int MaxPasswordLength = 50;
    }
}
